#pragma once

#include <gl\glut.h>
#include "component_constant.h"

class constant_surface :
	public component_constant
{
public:
	GLuint texture;
	float rise;
	float width_percent;

	constant_surface(void);
	~constant_surface(void);
	void draw(float* start, float* end, float start_dist, float end_dist, float* delta);
	void draw_corner(float *previous_point, float *cur_point, 
		float* previous_delta, float *cur_delta, 
		float* center_point, float corner_radius);
};

